{include file="header.php"}

<form action="{$site_url}?controller=user&action=updateprofile" method="post">
	
	<table>
		
		<tr>
			<td>
				<label for="firstname">
					Firstname
				</label>
			</td>
			<td>
				<input type="text" id="firstname" name="firstname" class="inputbox" value="{$user.firstname}" />
			</td>
		</tr>
		
		<tr>
			<td><label for="lastname">Lastname</label></td>
			<td>
				<input type="text" name="lastname" id="lastname" class="inputbox" value="{$user.lastname}" />
			</td>
		</tr>
		
		<tr>
			<td><label for="email">E-mail</label></td>
			<td>
				<input type="text" name="email" id="email" class="inputbox" value="{$user.email}" />
			</td>
		</tr>
		
		<tr>
			<td><label for="no_telefon">Telephone</label></td>
			<td>
				<input type="text" name="no_telefon" id="no_telefon" class="inputbox" value="{$user.no_telefon}" />
			</td>
		</tr>
		
		<tr>
			<td><label for="password">Password</label></td>
			<td>
				<input type="password" name="password" id="password" class="inputbox" value="" />
			</td>
		</tr>
		
		<tr>
			<td><label for="re-password">Repeat password</label></td>
			<td>
				<input type="password" name="re-password" id="re-password" class="inputbox" value="" />
			</td>
		</tr>
		
		<tr>
			<td><label for="jantina">Gender</label></td>
			<td>
				<select name="jantina" id="jantina">
					{if $user.jantina == 'Male'}
					<option value="Male" selected="selected">Male</option>
					<option value="Female">Female</option>
					{else}
					<option value="Male">Male</option>
					<option value="Female" selected="selected">Female</option>
					{/if}
				</select>
			</td>
		</tr>
		
		<tr>
			<td></td>
			<td>
				<input type="hidden" name="id" id="id" value="{$user.id}" />
				<input type="submit" name="submit" id="submit" value="Save Profile" />
			</td>
		</tr>
		
	</table>
	
</form>

{include file="footer.php"}